ClipboardPasteCommand Constructor(Worksheet,Reference[],Worksheet,Reference[],ManipulationOptions,Boolean)
In This Topic
Initializes a new instance of the
ClipboardPasteCommand class for paste from single source range to multi-target ranges.
Syntax
'Declaration
Public Function New( _
ByVal As Worksheet, _
ByVal () As Reference, _
ByVal As Worksheet, _
ByVal () As Reference, _
ByVal As ManipulationOptions, _
ByVal As Boolean _
)
'Usage
Dim sourceWorksheet As Worksheet
Dim sourceReferences() As Reference
Dim targetWorksheet As Worksheet
Dim targetReferences() As Reference
Dim manipulationOptions As ManipulationOptions
Dim clearSource As Boolean
Dim instance As New ClipboardPasteCommand(sourceWorksheet, sourceReferences, targetWorksheet, targetReferences, manipulationOptions, clearSource)
Parameters
- sourceWorksheet
- The source worksheet.
- sourceReferences
- The selections of the source worksheet.
- targetWorksheet
- The target worksheet.
- targetReferences
- The destination ranges of the target worksheet.
- manipulationOptions
- A GrapeCity.Spreadsheet.ManipulationOptions value indicates the processing data options.
- clearSource
- A boolean value indicates whether the source cell range will be clear.
See Also